import {defHttp} from '@/utils/http/axios'

export function getClassificationTree(params) {
  return defHttp.request({
    url: `/servlet/rest/getClassificationTree`,
    method: 'get',
    params
  });
}

export function getPartsByClassification(params) {
  return defHttp.request({
    url: `/servlet/rest/getPartsByClassification`,
    method: 'get',
    params
  });
}

export function getMPNByIPN(params) {
  return defHttp.request({
    url: `/servlet/rest/getMPNByIPN`,
    method: 'get',
    params
  });
}


